-- 格式要UTF8-BOM
local TWaryLua = require "TWaryLua";
local initData = require "1"
local all_info = require "lua.all_info"
local json = require "json"; 



local myaddress_json = {
    address = "http://" .. all_info.proxy_address_public .. ":9020",
}

TWaryLua.SaveToFile("./exe/myaddress.json", json.encode(myaddress_json))
print("正在生成oss的地址 myaddress.json")



-- 给存储桶上传基本三件套
local content = "OSSUpdate.exe " .. initData.oss_accesskey_id .. " ".. initData.oss_accesskey_secret .. " " .. initData.xxxx
TWaryLua.SaveToFile("./exe/oss.bat", content)



